package com.xzg.common.resp;

import com.xzg.common.constants.Constant;

public class APIResult<T> {
    private int code = Constant.RESP_STATUS_OK;

    private String message;

    private T data;

    private T data2;

    public T getData2() {
        return data2;
    }

    public void setData2(T data2) {
        this.data2 = data2;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
